aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.S...
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-07-30 13:31:25 +0100
committerMichael Williamson <mike@zwobble.org>2023-07-30 13:33:23 +0100
commit3b71fb59ab9613d73733d6c82cac8ddd74bb5101 (patch)
tree2364b1daea2f7b609ea3cddb8da91dcfe39c41fd /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
parent209cafc729a344efa002c545cae1f944061709d3 (diff)
Store params and vals as locals in Patio
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected6
1 files changed, 2 insertions, 4 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index a0ddbbd8..fbf82755 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -3,14 +3,12 @@ Compilation unit elements:
(
function-decl
"shed__runtime__string_add"
- params=(("left" int) ("right" int))
+ params=((param "left" int) (param "right" int))
return-type=int
)
Locals:
- * ("tmp__0" int)
-
-Args:
+ * (val "tmp__0" int)
Instructions: